return function (t, str)
    if not next(t) then
        table.insert(t, "where")
        table.insert(t, str)
    else
        table.insert(t, "and")
        table.insert(t, str)
    end
end
